<?php
function send_api_request($method, $params) {
    $url = 'http://www.reebonz.com/services/json-rpc';
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, array('method' => $method, 'params' => $params));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    
    $response = curl_exec($ch);
    curl_close($ch);
    return $response;
}
?>